package controllers

import (
	"github.com/zd04/beego-admin/models/dao"
	"log"
)

type TestController struct {
	ZbaseController
}

func (c *TestController) Get() {
	log.Println("TestController")
	s := dao.Test()
	c.Data["json"] = &s
	c.ServeJSON()
}
